# Dockerfile
FROM openjdk:8-jdk-alpine
WORKDIR /app
COPY target/sse-relay.jar app.jar
ENTRYPOINT ["java", "-jar", "app.jar"]

# 打包
# mvn clean package

# 构建镜像
# docker build -t sse-relay-service .

# 运行容器
# docker run -d -p 8080:8080 --name sse-relay sse-relay-service